package Util;

public class ToLowerBeanName {
    //提取收字母并且把首字母小写
    public static String toLowerBeanName(String beanName) {
        String[] cname = beanName.split("\\.");
        beanName = cname[cname.length - 1];
        beanName = beanName.substring(0, 1).toLowerCase()
                + beanName.substring(1);
        beanName = beanName.replace("handler","");
        return beanName;
    }
}
